package ru.spb.osll.myfit.common.chart;

import com.thoughtworks.xstream.annotations.XStreamAlias;

import java.io.Serializable;

/**
 * User: Artem Bukhonov
 * Email: nerzhulart@gmail.com
 * Date: 10.11.11
 * Time: 16:34
 */
@XStreamAlias("point")
public class ChartPoint implements Serializable {
  private static final long serialVersionUID = -523812312129839936L;

  @XStreamAlias("x")
  private double x = 0;
  @XStreamAlias("y")
  private double y = 0;

  public ChartPoint() {}

  public ChartPoint(double x, double y) {
    this.x = x;
    this.y = y;
  }

  public double getX() {
    return x;
  }

  public void setX(double x) {
    this.x = x;
  }

  public double getY() {
    return y;
  }

  public void setY(double y) {
    this.y = y;
  }
}
